//
//  WHCategorysCollectionViewCell.m
//  ShiWuPai
//
//  Created by app on 16/11/30.
//  Copyright © 2016年 QQ:244987427. All rights reserved.
//

#import "WHCategorysCollectionViewCell.h"
#import <UIKit+AFNetworking.h>
@implementation WHCategorysCollectionViewCell

- (void)awakeFromNib {
    // Initialization code
}

-(void)setCategory:(WHBaiKeCategory *)category{

    [self.iconImageView setImageWithURL:[NSURL URLWithString:category.imageUrl] placeholderImage:nil];
    self.nameLable.text=category.name;
}
@end
